// See the Electron documentation for details on how to use preload scripts:
// https://www.electronjs.org/docs/latest/tutorial/process-model#preload-scripts
import { contextBridge, ipcRenderer } from 'electron';

export default contextBridge.exposeInMainWorld("downloadMethodList", {
  manageDown: () => ipcRenderer.invoke('manage'),
  pause: () => ipcRenderer.invoke("pauseDownload")
})